POV-Ray : Newsgroups : povray.general : Problem with True Type Font : Re: Problem with True Type Font Server Time
4 Aug 2024 02:19:59 EDT (-0400)
  Re: Problem with True Type Font  
From: Mike Williams
Date: 21 Aug 2003 16:08:17
Message: <lURFLCA8ZSR$EwJV@econym.demon.co.uk>
Wasn't it Reuben Pearse who wrote:
>Hi all,
>
>When rendering some text using a True Type Font called Metrostyle in Povray
>3.5, it renders strange characters (i.e. "Hello" becomes "$66#")

I don't have metr75.ttf, but I do have Metrostyle Extended Font
metr53.ttf which exhibits the same problem.

I think that "Extended" bit is to do with the fact that it's a unicode
font, and you have to tell POVRay to use a unicode charset instead of
ascii when using such a font. Like this:

global_settings {
  charset utf8
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.